package com.example.sentineldemo.feign;

import org.springframework.stereotype.Component;

/**
 * @Package: com.example.sentineldemo.feign
 * @ClassName: FeignFallBackService
 * @Author: Think
 * @CreateTime: 2021/7/23 13:47
 * @Description:
 */
@Component
public class FeignFallBackService implements HelloFeignService {
    @Override
    public String getHello() {
        // 降级方案
        return "Feign提示系统繁忙，请稍后再试！";
    }
}
